package com.hualan.service;

import com.hualan.domain.UserRole;
import com.hualan.mapper.UserRoleMapper;
import com.hualan.service.impl.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    private UserRoleMapper userRoleMapper;

    @Override
    public List<UserRole> findAllUserRole() {
        return userRoleMapper.findAllUserRole();
    }
}
